home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Internet Surfer: Getting Started
/
Internet Surfer - Getting Started (Wayzata Technology)(7231)(1995).bin
/
pc
/
mac
/
bonus
/
peter_le
/
finger_1
/
tokens
/
current.p
next >
Wrap
Text File
|
1991-11-14
|
657b
|
32 lines
unit CURRENT;
interface
uses
ParameterDef;
procedure Main (var p: parameterRecord);
implementation
procedure Main (var p: parameterRecord);
var
t: longInt;
begin
GetDateTime(t);
UprString(p.param^, false);
if p.param^ = 'SHORT' then
IUDateString(t, shortDate, p.returnValue^)
else if p.param^ = 'LONG' then
IUDateString(t, longDate, p.returnValue^)
else if p.param^ = 'ABBREV' then
IUDateString(t, abbrevDate, p.returnValue^)
else if p.param^ = 'TIMESEC' then
IUTimeString(t, true, p.returnValue^)
else if p.param^ = 'TIME' then
IUTimeString(t, false, p.returnValue^)
else
p.returnValue^ := '?';
end;
end.